Release 10.1A: OpenEdge Development:
Programming Interfaces
Control blocks and output statements
Compiling a report usually involves a straightforward process of moving through a set of table records, calculating data, and outputting results. A control block best handles the report-generating process. Most reports use the
FOR EACHblock because of its record-reading properties. Here is an example:
The default frame of an iterating control block is a down frame.
The
DISPLAYstatement is Progress’s main programming statement for output.DISPLAYcan output to printers and media as well as the screen. Later, you’ll learn about another output statement and how to direct output.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |